﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AutoSendMail
{
    class MailList
    {
        private List<String> mailList = null;
        public MailList()
        {
            mailList = new List<string>();
        }
        public void addToMailList(String emailAddress)
        {
            mailList.Add(emailAddress);
        }
        public String this[int index]
        {
            get{
                return mailList[index];
            }
        }
        public int Count()
        {
            return mailList.Count;
        }
    }
}
